<?php 
namespace Erp\Controller;
use Think\Controller;
use Erp\C\Orders;
use Erp\C\Xpublic;
use Erp\Model;
use Fn;
use Erp\C\Orders\Tn;
class OrdersCopyController extends Controller{
	public function __call($a,$b){
		$this->_noAuthGetTnPdf();
	}
	public function _noAuthGetTnPdf(){
		$orders = I('get.orders','','trim');
		$orders = explode(',',$orders);
		$shipping = new Tn\ShippingTn();
		//获取追踪号
		$shipping->getTnByOrders($orders);
		$shipping->getLableByOrders($orders);
		$shipping->putOrdersById($orders);
	}
}